<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'localidad-form',
	'enableAjaxValidation'=>false,
	'focus'=>array($model,'provincia'),
)); ?>

<fieldset id="aviso">
	<legend>Datos del Aviso</legend>

	<span style="float:right;">
	<p class="note">Fields with <span class="required">*</span> are required.</p>
	</span>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'provincia'); ?>
		<?php echo $form->textField($model,'provincia',array('size'=>40,'maxlength'=>40)); ?>
		<?php echo $form->error($model,'provincia'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>
</fieldset>

<?php $this->endWidget(); ?>

</div><!-- form -->